<?php

namespace Api\Model;


class ExamDetailModel extends BaseModel{

	public function getQidByMid($mid){
		if (!$mid) {
            return ['status' => 0, 'data' => '参数为空'];
        }
        $question_items = $this->where(['mid' => $mid])->field('qid as id')->select();
        return $question_items;
	}
	
}
